'use strict';
angular.module('stmms')
.factory('Work', ['$resource',function ($resource) {
	

	return $resource('/api/works', null,
    {
        'findBySchool': { 
        	method:'GET',
        	isArray:true,
        	params:{
        		schoolId:'@schoolId'
        	}
        }
    });
}]);